import exifread

# Open image file for reading (binary mode)
f = open("./a.jpg", 'rb')
# Return Exif tags
tags = exifread.process_file(f)
#print (tags)

for tag in tags.keys():
    if tag not in ('JPEGThumbnail', 'TIFFThumbnail', 'Filename', 'EXIF MakerNote'):
        print ("%s, ----> %s" % (tag, tags[tag]))